#include <stdio.h>

void put1(char *p){
    while(*p!='\0'){
        putchar(*p++);
    }
}

int put2(char *p){
    int count=0;
    while(*p){
        putchar(*p++);
        count++;
    }
    putchar('\n');
    return count;
}

int main(){
    char a[100]="Hello!";
    char b[2]={'a','c'};
    int count=put2(b);
    printf("%d\n",count);
    //printf("%p,%p",a,b);
}